%option noyywrap
%{
	#include <set>
	#include <string>
	using namespace std;
	int integ=0;
	int diff_integ=0;
	set<string> str;
%}

digit	[0-9]
number	{digit}+(\.{digit}+)?(E[+\-]?{digit}+)?
%%

^[0-9]{9}	{printf("201492152");}
NAME$	{printf("YPT");}
{number}	{printf("%.f",0.5+atof(yytext)*2+201492152);integ++;str.insert(yytext);}
.	{ECHO;}

%%

int main()
{
	yylex();
	printf("the number of integ is %d,the number of different integ is %d",integ,str.size());
	return 0;
}
